import api from './common/config.js'
let Getajax = api.Getajax
//http://152.136.195.147/api/user/login
//登录操作
export function login(account,password) {
	return Getajax({
				url:'/api/user/login',
				type:'post',
				data:{
					account:account,
					password:password,
				}
			})
};
//用户协议接口
//http://152.136.195.147/api/index/get_user_agreement
export function yhxyList() {
	return Getajax({
				url:'/api/index/get_user_agreement',
				type:'GET',
				data:{}
			})
};
//隐私政策
//http://152.136.195.147/api/index/get_privacy_policy
export function yszcList() {
	return Getajax({
				url:'/api/index/get_privacy_policy',
				type:'GET',
				data:{}
			})
};